package com.mvprxjavartrofit.entity;

/**
 * Created by Administrator
 * At 2016/10/19/11:14/2016
 * Project test
 */
public class HttpResult<T> {
    private int respCode;

    private String respMessage;

    private int total;

    private T data;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public int getRespCode() {
        return respCode;
    }

    public void setRespCode(int respCode) {
        this.respCode = respCode;
    }

    public String getRespMessage() {
        return respMessage;
    }

    public void setRespMessage(String respMessage) {
        this.respMessage = respMessage;
    }

    @Override
    public String toString() {
        return "HttpResult{" +
                "respCode=" + respCode +
                ", respMessage='" + respMessage + '\'' +
                ", total=" + total +
                ", data=" + data +
                '}';
    }
}
